package org.feng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.feng.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author feng
 * @since 2020-12-11
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    void deleteMenu(String id);

    void saveMenu(List<HashMap<String, Object>> list);

    List<String> hasMenu(String id);
}

